Skip to content

Conversation

@alexcrichton
Copy link
Member

Backport of #12302

…dealliance#12302)

* Fix `Module::image_range` to include non-text part of module.

This method is informational for embedders to be able to, for example,
ensure an image in memory is `mlock`'d (not swapped out). In the
refactors around the StoreCode/EngineCode split, I mistakenly redefined
this to only the text section. This is not a Wasm execution correctness
issue but may lead to performance issues if an embedder relies on this
behavior. This PR fixes the definition.

* Components as well as core modules.

* Ignore new tests in miri.
@alexcrichton alexcrichton requested a review from a team as a code owner January 9, 2026 19:56
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team January 9, 2026 19:56
@alexcrichton alexcrichton enabled auto-merge (squash) January 9, 2026 20:03
@alexcrichton alexcrichton merged commit 9656606 into bytecodealliance:release-41.0.0 Jan 9, 2026
174 checks passed
@alexcrichton alexcrichton deleted the backport branch January 9, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants